package com.cndw.kungfu.model.pvp.api;

import com.cndw.kungfu.config.ConstantsConfig;

public class ApiCore {
	public static int currentSid() {
		return ConstantsConfig.getSysCgServiceId();
	}

	public static int crossSid() {
		int crossId = ConstantsConfig.getSysCgCrossServiceId();
		return crossId == 0 ? -1 : crossId;
	}
	

	public static boolean isCrossServer() {
		return currentSid() == crossSid();
	}

}
